package com.ruoyi.business.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.Type;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 车站管理对象 platform
 * 
 * @author ruoyi
 * @date 2025-03-21
 */
@Data
public class PlatformVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Excel(name = "ID", type = Type.ALL)
    private Long id;

    /** 城市ID */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Excel(name = "城市ID")
    private Long cityId;

    /** 站点名 */
    @Excel(name = "站点名")
    private String stationName;

    /** 站点名拼音 */
    @Excel(name = "站点名拼音")
    private String stationPinyin;

    /** 站点名首字母 */
    @Excel(name = "站点名首字母")
    private String stationInitials;

    /** 车站类型: 1.火车站 2.高铁站 3.都是 */
    @Excel(name = "车站类型", type = Type.ALL)
    private String stationType;

    /** 创建时间 */
    private Date createdAt;

    /** 修改时间 */
    private Date updatedAt;
    
    /**
     * Excel行号
     */
    @Excel(name = "Excel行号", type = Type.EXPORT)
    private Integer rowNum;
    
    /**
     * 错误信息
     */
    @Excel(name = "错误原因", type = Type.EXPORT)
    private String errorMsg;
}
